#pragma once

#include <string>
#include <format>
#include <tchar.h>

namespace CodingSea {

using TString = std::basic_string<TCHAR>;
using tstring_view = std::basic_string_view<TCHAR>;

#ifdef UNICODE
using TFormatArgs = std::wformat_args;
#define MakeTFormatArgs std::make_wformat_args
#define TO_TSTRING std::to_wstring
#else
using TFormatArgs = std::format_args;
#define MakeTFormatArgs std::make_format_args
#define TO_TSTRING std::to_string
#endif

} // namespace CodingSea